<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>添加分类</title>

		<!-- 公共样式 开始 -->
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/admin/base.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/admin/iconfont.css">
		<script type="text/javascript" charset="UTF-8" src="${pageContext.request.contextPath}/js/jquery-3.3.1.js"></script>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/layui/css/layui.css">
		<script type="text/javascript" src="${pageContext.request.contextPath}/layui/layui.js"></script>
		<!-- 滚动条插件 -->
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/admin/index/jquery.mCustomScrollbar.css">
		<script src="${pageContext.request.contextPath}/js/admin/jquery-ui-1.10.4.min.js"></script>
		<script src="${pageContext.request.contextPath}/js/admin/jquery.mousewheel.min.js"></script>
		<script src="${pageContext.request.contextPath}/js/admin/jquery.mCustomScrollbar.min.js"></script>
		<script src="${pageContext.request.contextPath}/js/admin/cframe.js"></script><!-- 仅供所有子页面使用 -->
		<!-- 公共样式 结束 -->
		
		<script src="${pageContext.request.contextPath}/js/admin/gradeAdd.js"></script>
		
		<style>
			.layui-form{
				margin-right: 30%;
			}
		</style>

	</head>

	<body>
		<div class="cBody">
			<form id="addForm" class="layui-form" action="${pageContext.request.contextPath}/Grade/gradeAdd" method="post" autocomplete="off">
				<div class="layui-form-item">
					<label class="layui-form-label">分类名称</label>
					<div class="layui-input-inline shortInput">
						<input id="gradeName" type="text" name="gradeName"  placeholder="例:N5" autocomplete="off" class="layui-input">
					</div>
            		<i class="iconfont icon-huaban bt"></i>
				</div>
				<div class="layui-form-item" id="gradeNamets">
					<label class="layui-form-label"></label>
					<div class="layui-input-inline shortInput">
						<span style="color: red">该类名已拥有</span>
					</div>
				</div>
				
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button id="submitButton" disabled="disabled" class="layui-btn" lay-submit lay-filter="submitBut">立即提交</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
			</form>
		</div>
	</body>

</html>